﻿using System;
using System.Runtime.CompilerServices;
using DevExpress.XtraGrid.Views.Grid;
using System.Windows.Forms;

namespace Smart.Common
{
    public enum Actions
    {
        Add,
        Update,
        Change,
        Delete,
        AddNew,
        None
    }


    public enum CloseOrNew
    {
        None,
        New,
        Close
    }

    public enum Column
    {
        None,
        Quantity,
        Price,
        Amount,
        ID,
        Lock
    }

    public enum EnumCommand
    {
        Added,
        Changed,
        Deleted,
        Cancel,
        Undo,
        Redo,
        Save,
        SaveAndNew,
        SaveAndClose,
        Find,
        Search,
        Go,
        Back,
        Next,
        History,
        ShowDetail,
        Refresh,
        Show,
        Validate,
        Filter,
        SearchText,
        Close,
        PageSetup,
        Print,
        Preview,
        Report,
        Design,
        Import,
        Export,
        Custom,
        Task
    }

    public enum EnumRefType
    {
        Adjustment = 5,
        Buy = 0x17,
        NhapBaoBi = 0x2c,
        NhapTaiChe = 0x2d,
        OutwardPacket = 6,
        SaleCafeBar = 10,
        SaleNormal = 0x15,
        StockAssembly = 4,
        StockBuild = 3,
        StockInit = 0,
        StockInward = 1,
        StockOutward = 2,
        StockTransfer = 9,
        TransferPack1 = 7,
        TransferPack2 = 8,
        XuatBaoBi = 0x2e,
        XuatTaiChe = 0x2f
    }

    public enum ListType
    {
        General,
        Detail,
        Merrial
    }

    public enum VoucherType
    {
        InvoiceInward = 1,
        InvoiceOutward = 2,
        Inward = 11,
        Outward = 0x15,
        Payments = 4,
        Receipts = 3,
        Voucher = 3
    }
}
